<div class="sign-up" ng-hide="success">
    <div class="head">
        <img src="../src/img/bg-sign-head.png" alt="">
    </div>
    <div class="content" ng-class="title">
        <ul class="title">
            <li class="create {{ title=='create'?'active':'' }}" ng-click="changeTitle('create')">
                <div class="name">创客组</div>（青年创业者）
            </li>
            <li class="youth {{ title=='youth'?'active':'' }}" ng-click="changeTitle('youth')">
                <div class="name">青春组</div>（高校女生、新晋网红）
            </li>
        </ul>
        <!--报名逻辑-->
        <div class="cont-box" ng-if="!success">
            <div class="imgupload">
                <ul class="img-ul">
                    <li ng-repeat="item in imgArray" ng-click="removeImgItem($index)">
                        <img ng-src="{{ item.url +'?imageMogr2/crop/200x200'}}" ng-if="item.url" alt="">
                        <div class="loading" ng-if="!item.url"><img src="../src/img/refresh.png" alt=""></div>
                    </li>
                    <li class="add" ng-hide="imgArray.length==3"><input class="disNone" id="choiceUpload" type="file" nv-file-select="" uploader="uploader" multiple=""></li>
                </ul>
                <div class="txt">{{ imgUploadTxt }}</div>
            </div>
            <!--创客组-->
            <form class="form" guest-verify>
                <div class="group">
                    <label>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</label>
                    <input type="text" ng-model="users.name" placeholder="请输入您的姓名">
                </div>
                <div class="group">
                    <label>电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：</label>
                    <input type="tel" ng-model="users.tel" maxlength="11" placeholder="请输入您的手机号码">
                </div>
                <div class="verify">
                    <div class="group">
                        <label>验&nbsp;证&nbsp;码：</label>
                        <input type="tel" ng-model="users.code" maxlength="6" placeholder="输入验证码">
                    </div>
                    <button class="btn" ng-click="sendTelCode()" ng-disabled="users.isSendCode">{{ sendTelCodeTxt }}</button>
                </div>
                <div class="group">
                    <label>参赛宣言：</label>
                    <input type="text" ng-model="users.declaration" placeholder="{{ formTxt.declaration }}">
                </div>
                <div class="group">
                    <label>{{ formTxt.organizName }}：</label>
                    <input type="text" ng-model="users.organization" placeholder="{{ formTxt.organization }}">
                </div>
            </form>
            <div class="confirm" ng-click="confirmSubmit()">提交信息</div>
        </div>

        <!--报名成功-->
        <!--<div class="cont-success" ng-if="success">
            <h2>报名成功</h2>
            <div class="headImg">
                <div class="img-box">
                    <img ng-src="{{ imgArray[0].url }}" alt="">
                </div>
            </div>
            <ul class="info">
                <li>
                    <label>编号：</label><p>{{ number }}号</p>
                </li>
                <li>
                    <label>姓名：</label><p>{{ users.name }}</p>
                </li>
                <li ng-if="users.organization">
                    <label>{{ formTxt.organizName }}：</label><p>{{ users.organization }}</p>
                </li>
            </ul>
            <ul class="info">
                <li>
                    <label>参赛宣言：</label><p>{{ users.declaration }}</p>
                </li>
            </ul>
            <div class="confirm invate" ng-click="shareShow(true)">邀请好友</div>
        </div>-->
    </div>
    
    <!--<div class="explain" ng-if="!success">
        <div class="text">填写报名信息，我们会在7个工作日内向您确认信息。</div>
        <a class="btn" ui-sref="/descrip">活动说明</a>
    </div>-->
</div>

<!--提交报名成功-->
<div class="sign-success" ng-if="success">
    <div class="head">
        <div class="logo"><img src="../src/img/logo.png" alt=""></div>
        <h2>{{ title=='create'?'创客组':'青春组' }}</h2>
    </div>

    <ul class="imgList">
        <li class="heng" ng-repeat="item in imgArray">
            <div class="img-box">
                <div class="img">
                    <img ng-src="{{ item.url +'?imageMogr2/crop/' }}" alt="">
                    <div class="number animated bounce" ng-if="$index==0&&numbers">
                        <p class="one">NO.</p>
                        <p class="two">{{ numbers }}</p>
                        <p class="thr">号</p>
                    </div>
                </div>
                <div class="name" ng-if="$index==0">{{ users.name }}</div>
                <div class="text" ng-if="$index==0">
                    <span ng-show="title=='create'">{{ users.declaration }}</span>
                    <span ng-show="title=='youth'">{{ users.organization }}</span>
                </div>
            </div>
            <div class="info" ng-if="$index==0">
                <span ng-show="title=='youth'">{{ users.declaration }}</span>
                <span ng-show="title=='create'">{{ users.organization }}</span>
            </div>
        </li>
    </ul>
    <a class="c-btn" ng-click="signSubmit()" ng-if="success=='success'">确定报名</a>
    <a class="c-btn-kong" ng-click="reWrite()" ng-if="success=='success'">重新填写</a>
    <p class="message" ng-if="success=='success'">注：信息确定后将不可再次修改。</p>
    <a class="c-btn" ng-click="shareShow(true)" ng-if="success=='complete'">邀请好友</a>
    <a ui-sref="list" class="c-btn-kong" ng-if="success=='complete'">查看主页</a>

    <!--提示关注动画-->
    <div class="attentImg" ng-if="attentShow"><img src="../src/img/icon-attent.png" alt=""></div>
</div>

<link rel="import" href="/views/nav.html?__inline">

<!--提示框-->


<!--极验-->
<div id="popup-captcha" class="disNone"></div>

<!--分享弹出框和提示框-->
<share-alert></share-alert>